// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public License v3.0.
// See the LICENCE file in the repository root for full licence text.

.mp-history-event {
  display: flex;
  align-items: center;

  &__time {
    width: 65px;
    margin-right: 10px;
    text-align: right;

    font-weight: 700;
    font-size: 10px;
    color: @osu-colour-c2;

    @media @desktop {
      width: 85px;
    }
  }

  &__type {
    font-size: 12px;

    width: 25px;

    display: flex;
    justify-content: space-around;
    align-items: center;

    margin-right: 10px;

    &--game_aborted {
      color: @osu-colour-orange-3;
    }

    &--game_completed {
      color: @osu-colour-green-3;
    }

    &--host_changed {
      color: @osu-colour-green-3;
    }

    &--player_joined {
      color: @osu-colour-green-3;
    }

    &--player_kicked {
      color: @osu-colour-orange-3;
    }

    &--player_left {
      color: @osu-colour-orange-3;
    }

    &--room_created {
      color: @osu-colour-green-3;
    }

    &--room_disbanded {
      color: @osu-colour-orange-3;
    }
  }

  &__text {
    flex: 1;
    font-size: 12px;
    padding-right: 20px;
    color: @osu-colour-c1;
  }

  &__username {
    font-weight: 700;
  }
}
